/***** Page *****/
body {
    background: #FFFFFF;
    background-image: url( 'body-bg.jpg' );
    background-position: top;
    background-repeat: repeat-x;
    color: #333;
    margin: .5em;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .8em;
}

body a:visited {
    text-decoration: none;
    border: 0;
}

.left {
    float: left;
    padding: 0;
    text-align: left;
    font-size: 1em;
    font-weight: normal;
    display: inline;
}

.right {
    display: inline;
    float: right;
    text-align: right;
    padding: 0;
    font-size: 1em;
    font-weight: normal;
}

/***** Wrapper *****/
#wrapper {
    background: #FCFBE9;
    border: 1px solid #FFFFFF;
    color: #000;
    margin: 1em auto;
    padding: 1em;
    width: 740px;
}

/***** Navigation *****/
#navigation {
    margin: 0 0 0 0;
    float: left;
    width: 100%;
    color: #FFFFFF;
    background-color: #EACE46;
    border: 1px solid #EBCD48;
}

#navigation ul {
    margin: 0;
    padding: 4.8em 0 0 .3em;
    list-style: none;
}

#navigation li {
    float: left;
    white-space: nowrap;
}

#navigation li a {
    float: left;
    display: block;
    margin: 0;
    padding: 0 0 0 4px;
    text-decoration: none;
    background-image: url( 'tableftB.gif' );
    background-position: left top;
    background-repeat: no-repeat;
}

#navigation a span {
    float: left;
    display: block;
    background-image: url( 'tabrightB.gif' );
    background-position: right top;
    background-repeat: no-repeat;
    background-color: transparent;
    padding: 5px 15px 4px 6px;
    color: #9E8100;
}

#navigation h1 {
    margin: 0 0 -.6em 0;
    padding: 0.2em 0 0 0.4em;
    font-size: 1.8em;
    letter-spacing: .1em;
    color: #ffffff;
    background-color:#EACE46;
    font: arial, "lucida console", sans-serif;
}

#navigation h2 {
    margin: 0 0 0 0;
    padding: 1.2em 0 0 1em;
    font-size: .9em;
    font-weight: 300;
    letter-spacing: .1em;
    color: #7E3517;
    background-color:#EACE46;
}

#navigation a:hover span, #navigation .selected {
    color: #7E3517;
    background-color: transparent;
}

#navigation a:hover, #navigation .selected {
    color: #7E3517;
    background-position: 0% -42px;
}

#navigation a:hover span, #navigation .selected span {
    background-position: 100% -42px;
    color: #7E3517;
    background-color: transparent;
}

/***** Content *****/
#content {
    background: #fff;
    float: left;
    padding: 15px 10px;
    width: 555px;
    border-right: 1px solid #E1BC93;
    color: #000;
    max-height: 28.5em;
    min-height: 28.5em;
    overflow: auto;
}

#content h1 {
    color: #9E8100;
    font-size: 1.3em;
    margin: 0;
    padding: 10px 5px 0 0;
    text-align: left;
    background: inherit;
}

#content h2 {
    color: #9E8100;
    font-size: 1.1em;
    margin: 0;
    padding: 0 0 0 0px;
    font-weight: normal;
    background: inherit;
}

#content p {
    margin: 10px 5px;
    padding-left: 0.1em;
    padding-right: 0.1em;
    background: inherit;
    color: inherit;
}

#content a {
    text-decoration: underline;
    color: #547699;
    background-color: #FFFFFF;
}

#content a:hover {
    text-decoration: underline;
}

/***** Side Content *****/
#sidecontent {
    margin: 0;
    padding: 0 0 0 0;
    float: right;
    width: 164px;
    background-color: #FCFBE9;
}

#sidecontent a {
    color: #9E8100;
    text-decoration: none;
    font-size: 1em;
    display: block;
    background: inherit;
}

#sidecontent a:hover {
    background: #9E8100;
    color: #FFFFFF;
}

#sidecontent h4 {
    font-size: 1em;
    font-weight: bold;
    margin: 0;
    padding: 10px 0 2px 15px;
}

/***** Footer *****/

#footer {
    background: #FFFFFF;
    clear: both;
    color: #7E3517;
    font-size: .9em;
    height: 1.8em;
    line-height: 1.8em;
    padding: 0;
    text-align: center;
}

#footer a {
    background: inherit;
    color: #547699;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}

#footer .left {
    margin: 0 0 0 8px;

}

#footer .right {

    margin: 0 8px 0 0;
}
